// ============================================================================
//
// Graph framework by Aurelien Moreau aurelien.moreau@gmail.com
// Modified by Pierre CHATEL chatelp@gmail.com
// Distributed under LGPL
// Copyright (C) Aurelien Moreau, 2008, 2009. All rights reserved
//
// ============================================================================

package com.thalesgroup.graphFramework.measure.impl;

import com.thalesgroup.graphFramework.measure.Metric;

public class DoubleMetric implements Metric<Double> {

	public double dist(final Double e1, final Double e2) {
		return Math.abs(e1 - e2);
	}

}
